<template>
  <MyModal ref="myModal" title="账户说明" :top="35">
    <template #content>
      <div style="text-align: center">
        <p>1.NB是系统内账户积分，可以在系统内自由流通。</p>
        <p>2.NB可以通过抽奖、系统活动、充值等方式获得。</p>
        <p>3.NB可以用于购买本系统生态内充值卡密等产品。</p>
      </div>

      <div style="text-align: right">
        <a-button type="primary" @click="() => myModal.cancelModal()">知道了</a-button>
      </div>
    </template>
  </MyModal>
</template>

<script setup lang="ts">
import { ref } from 'vue'


const myModal = ref()

const showModal = (type = 'wx') => {
  myModal.value?.showModal()
}

const emit = defineEmits<{
  refresh: []
}>()

defineExpose({
  showModal,
})
</script>
